package com.mifengs.mall.ui.opencompany;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.mifengs.mall.R;
import com.mifengs.commonbase.base.BaseActivity;
import com.mifengs.mall.ui.openself.OpenSelfActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class ShopTypeActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_shop_type);
        ButterKnife.bind(this);
        setStatusColorAndMode(R.color.white, true);
        initNavigationBar(true, "店铺类型");
    }

    @OnClick({R.id.iv_self, R.id.iv_company})
    public void onViewClicked(View view) {
        Intent intent;
        switch (view.getId()) {
            case R.id.iv_self:
                intent = new Intent(this, OpenSelfActivity.class);
                startActivity(intent);
                finish();
                break;
            case R.id.iv_company:
                intent = new Intent(this, OpenCompanyActivity.class);
                startActivity(intent);
                finish();
                break;
        }
    }

}
